import request from '@/utils/request'

export default {
    /**
     * 查询分页名师数据
     * @param {当前页} current 
     * @param {每页记录数} size 
     * @returns 
     */
    getTeacherFrontList(current, size) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFrontList/${current}/${size}`,
            method: 'post'
        })
    },
    /**
     * 获取讲师详情信息
     * @param {讲师id} id 
     */
    getTeacherFront(id) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFront/${id}`,
            method: 'get'
        })
    }
}